<?php
	session_start();
	if(isset($_SESSION['adminlogintconline'])) {
		header("Location: admin.php");
	}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Login | Admin Tai Chinh Online</title>
<link href="../css/960.css" rel="stylesheet" type="text/css" media="all" />
<link href="../css/reset.css" rel="stylesheet" type="text/css" media="all" />
<link href="../css/text.css" rel="stylesheet" type="text/css" media="all" />
<link href="../css/login.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body>
<div class="container_16">
  <div class="grid_6 prefix_5 suffix_5">
   	  <h1>Admin - Login</h1>
    	<div id="login">   
    	<div style="color: red;">
        <?php
			if(isset($_GET['mess'])) {
				echo($_GET['mess']);
			}
		?>
        </div>
    	  <form id="form1" name="form1" method="post" action="../src/control/loginadmin.php">
    	    <p>
    	      <label><strong>Tài Khoản Quản Lý</strong>
<input type="text" name="userName" class="inputText" id="textfield" autofocus="autofocus" />
    	      </label>
  	      </p>
    	    <p>
    	      <label><strong>Mật Khẩu</strong>
  <input type="password" name="passWord" class="inputText" id="textfield2" />
  	        </label>
    	    </p>
    	  	<input class="black_button" type="submit" value="Login"/>
    	  </form>
		  <br clear="all" />
    	</div>
  </div>
</div>
<br clear="all" />
</body>
</html>
